var IsNotOk = false;
function IsOk(Name) {
    if (!window.localStorage.getItem(Name) || (window.localStorage.getItem(Name).indexOf("//EndSub") == -1 && window.localStorage.getItem(Name).indexOf("/*EndSub*/") == -1)) {
        window.localStorage.removeItem(Name);
        window.localStorage.setItem(Name + '_Ver', 0);
        IsNotOk = true;
        console.log(Name + "--NO");
    } else {
        console.log(Name + "--OK");
    }
}
